<% define_content :link do %>
  <%= course_quiz_url(asset.quiz.context, asset.quiz) %>
<% end %>

<% define_content :subject do %>
  <%= t :subject, "Quiz Regrade Finished: %{quiz}, %{context}", :quiz => asset.quiz.title, :context => asset.quiz.context.name %>
<% end %>

<%= t :body, "A regrade has finished for the quiz %{quiz}", :quiz => asset.quiz %>

<%= t :link_message, "You can view the quiz here:" %>
<%= content :link %>
